﻿<phone:PhoneApplicationPage 
    x:Class="sodexo.PageAbout"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True" xmlns:my="clr-namespace:Coding4Fun.Phone.Controls;assembly=Coding4Fun.Phone.Controls">

    <!--LayoutRoot 是包含所有页面内容的根网格-->
    <Grid x:Name="LayoutRoot" >
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Grid.Background>
            <ImageBrush ImageSource="/Images/background.jpg"/>
        </Grid.Background>
        <!--TitlePanel 包含应用程序的名称和页标题-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="ApplicationTitle" Text="索迪斯联盟商户信息" Style="{StaticResource PhoneTextNormalStyle}"/>
            <TextBlock x:Name="PageTitle" Text="帮助" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
        </StackPanel>
        
        <!--ContentPanel - 在此处放置其他内容-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="0,0,12,0">
            <StackPanel>
            <TextBlock  Text="   本程序用于查询索迪斯联盟商户信息，数据来源于索迪斯官方网站。" AllowDrop="False" IsHitTestVisible="True" TextWrapping="Wrap" Margin="10,0,0,0" />
             <TextBlock  Text="   本程序并非索迪斯官方软件，信息请以官方发布数据为准，且需要网络连接才能使用，由此产生的数据费用由使用者自行承担。" AllowDrop="False" IsHitTestVisible="True" TextWrapping="Wrap" Margin="10,0,0,0" />
            </StackPanel>
            
        </Grid>
        <Grid Name="grid1" Margin="0,167,14,12" Grid.Row="1">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="138*" />
                <ColumnDefinition Width="328" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="77" />
                <RowDefinition Height="40" />
                <RowDefinition Height="40" />
                <RowDefinition Height="40" />
                <RowDefinition Height="40" />
                <RowDefinition Height="40" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>
            <TextBlock HorizontalAlignment="Left" Name="textBlockAbout" Text="关于" VerticalAlignment="Top" DataContext="{Binding}" Margin="26,0,0,0" FontSize="56" FontWeight="Normal" />
            <TextBlock Grid.Row="1" HorizontalAlignment="Left" Margin="29,4,0,0" Name="textBlockProgramer" Text="程序：" VerticalAlignment="Top" FontSize="20" />
            <TextBlock Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left" Margin="4,4,0,0" Name="textBlockMM" Text="冥冥" VerticalAlignment="Top" FontSize="20" />
            <HyperlinkButton Content="vwzm@live.com" Grid.Row="2" HorizontalAlignment="Left" Margin="131,4,0,0" Name="hyperlinkButtonEmailMM" VerticalAlignment="Top" Width="191" Grid.ColumnSpan="2" Click="hyperlinkButtonEmail_Click" />
            <TextBlock Grid.Row="3" HorizontalAlignment="Left" Margin="29,4,0,0" Name="textBlockPainter" Text="美工：" VerticalAlignment="Top" FontSize="20" />
            <TextBlock Grid.Column="1" Grid.Row="3" HorizontalAlignment="Left" Margin="4,4,0,0" Name="textBlockQQ" Text="虫虫" VerticalAlignment="Top" FontSize="20" />
            <HyperlinkButton Content="zhejiangqq@yahoo.com.cn" Grid.Row="4" HorizontalAlignment="Left" Margin="131,4,0,0" Name="hyperlinkButtonEmailQQ" VerticalAlignment="Top" Click="hyperlinkButtonEmail_Click" Grid.ColumnSpan="2" />
            <TextBlock Grid.Row="5" HorizontalAlignment="Left" Margin="29,4,0,0" Name="textBlockWebSite" Text="索迪斯：" VerticalAlignment="Top" FontSize="20" />
            <HyperlinkButton Content="www.club.cn.sodexo.com" Grid.Row="5" HorizontalAlignment="Left" Margin="131,4,0,0" Name="hyperlinkButtonWebSite" VerticalAlignment="Top" Grid.ColumnSpan="2" Click="hyperlinkButtonWebSite_Click" />
            <TextBlock Grid.Row="6" HorizontalAlignment="Left" Margin="29,4,0,0" Name="textBlockVersion" Text="版本：" VerticalAlignment="Top" FontSize="20" />
            <TextBlock Grid.Column="1" Grid.Row="6" HorizontalAlignment="Left" Margin="4,4,0,0" Name="textBlockVersionNumber" Text="1.0.0" VerticalAlignment="Top" FontSize="20" />
        </Grid>
    </Grid>
 
    <!--演示 ApplicationBar 用法的示例代码-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="按钮 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="按钮 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="菜单项 1"/>
                <shell:ApplicationBarMenuItem Text="菜单项 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
